﻿using FPSO.Services.Impl;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FPSO.HMI
{
    class SysConfig
    {
        public static readonly string PDBConnStr = ConfigurationManager.AppSettings["PDBConnStr"];
		public static readonly string OPCConnStr = ConfigurationManager.AppSettings["OPCServer"];
		public static readonly string OPCBackupConnStr = ConfigurationManager.AppSettings["OPCBackupServer"];

		public static readonly string SafeLoad_path = "D:\\iSafeLoad\\SafeLoad";
		//public static readonly string SafeLoad_path = "C:\\Users\\chima\\Desktop\\智能装配载现场问题\\iSafeLoad_FPSO\\SafeLoad";

		public static readonly string OPC_ADD_PRE = ConfigurationManager.AppSettings["OpcAddPreStr"];

		public static DBSystemLogService g_SystemLogService = new DBSystemLogService();
		public static DBShipTankStatusLogService g_ShipTankStatusLogService = new DBShipTankStatusLogService();
		public static DBShipTankStatusBackupLogService g_ShipTankStatusBackupLogService = new DBShipTankStatusBackupLogService();
	}
}
